const router = require("koa-router")();

router.get("/404.html",async (ctx,next) => {
  console.log(404)
  ctx.render("404.html")
})

router.get("/",async (ctx,next)=>{
  console.log("/index.html")
  ctx.render("index.html")
})

router.get("/page01.html",async (ctx,next)=>{
  console.log(ctx.request.query)
  ctx.render("page01.html")
})
 
module.exports = router;